package demo06获取任意一年的二月的天数;

public class Demo02 {
    public static void main(String[] args) {
        String s1 = "a" + "b" + "c";
        String s2 = "abc";
        System.out.println(s1 == s2);
        System.out.println(s1.equals(s2));
        String s3 = "ab";
        String s4 = "abc";
        String s5 = s3 + "c";
        System.out.println(s4 == s5);
        System.out.println(s3 == s5);
        System.out.println(s4.equals(s5));

    }
}
